package com.ruoyi.teaching.mapper;

import java.util.List;
import com.ruoyi.teaching.domain.TeachingCourseFolder;

/**
 * 课程目录Mapper接口
 * 
 * @author William
 * @date 2022-10-11
 */
public interface TeachingCourseFolderMapper 
{
    /**
     * 查询课程目录
     * 
     * @param folderId 课程目录主键
     * @return 课程目录
     */
    public TeachingCourseFolder selectTeachingCourseFolderByFolderId(Long folderId);

    /**
     * 查询课程目录列表
     * 
     * @param teachingCourseFolder 课程目录
     * @return 课程目录集合
     */
    public List<TeachingCourseFolder> selectTeachingCourseFolderList(TeachingCourseFolder teachingCourseFolder);

    /**
     * 新增课程目录
     * 
     * @param teachingCourseFolder 课程目录
     * @return 结果
     */
    public int insertTeachingCourseFolder(TeachingCourseFolder teachingCourseFolder);

    /**
     * 修改课程目录
     * 
     * @param teachingCourseFolder 课程目录
     * @return 结果
     */
    public int updateTeachingCourseFolder(TeachingCourseFolder teachingCourseFolder);

    /**
     * 删除课程目录
     * 
     * @param folderId 课程目录主键
     * @return 结果
     */
    public int deleteTeachingCourseFolderByFolderId(Long folderId);

    /**
     * 批量删除课程目录
     * 
     * @param folderIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeachingCourseFolderByFolderIds(String[] folderIds);
}
